@charset "utf-8";
/* CSS Document */

* {margin: 0; padding: 0; box-sizing: border-box; -webkit-overflow-scroll:touch; -webkit-overflow-scrolling: touch;}

html {font-size: calc(100vw/7.5);}
body {overflow: hidden; width: 100%; height: 100vh; color: #333; background-image: url("../images/bg.jpg"); background-size: 100%;}
body.fixed {position: fixed; bottom: 0; left: 0; width: 100%;}
button {width: 3.2rem; height: .8rem; line-height: .8rem; background-color: #a90505; color: #fff; text-align: center; font-size: .4rem; font-weight: bold; border: none; border-radius: .2rem; box-shadow: 0 .12rem .1rem rgba(0,0,0,.3); display: block;}
img {display: block;}

.h85 {height: 85vh;}
.flex {display: -webkit-flex; display: flex;}
.item-center {align-items: center; justify-content: center;}
.center {text-align: center;}

.pop-bg {position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 999; background-color: rgba(0,0,0,.7); justify-content: center; align-items: center; display: none;}
.pop-bg.show {display: -webkit-flex; display: flex;}
.pop-bg .pop-box {position: absolute; width: 5.4rem; max-height: 80vh; background-color: #fff; border-radius: .3rem; padding: .4rem .5rem; display: none;}
.pop-bg .pop-box.blue {background-color: #002469; background-image: url("../images/pop_box_head.png"); background-size: 100%; background-repeat: no-repeat;}
.pop-bg .pop-box .pop-close {position: absolute; width: .8rem; top: 0; right: 0; margin-top: -.4rem; margin-right: -.4rem;}
.pop-bg .pop-box .pop-box-title {text-align: center; font-size: .3rem; color: #690d1a; font-weight: bold; margin-bottom: .46rem;}
.pop-bg .pop-box.blue .pop-box-title {font-size: .36rem; color: #fff; font-weight: bold; margin: .42rem 0;}
.pop-bg .pop-box .pop-box-title.win {font-size: .48rem; margin-top: .75rem;}
.pop-bg .pop-box .pop-box-content {}
.pop-bg .pop-box .pop-box-content.lose {margin-top: .65rem;}
.pop-bg .pop-box .pop-box-content p {font-size: .26rem; color: #333; line-height: .36rem;}
.pop-bg .pop-box.blue .pop-box-content p {color: #fff;}
.pop-bg .pop-box .pop-box-content.lose p {font-size: .36rem; line-height: .48rem;}
.pop-bg .pop-box .pop-box-content.win p {font-size: .36rem; line-height: .48rem; font-weight: bold;}
.pop-bg .pop-box .pop-box-tips {font-size: .26rem; line-height: .36rem; color: #690d1a; margin-top: .75rem;}
.pop-bg .pop-box.blue .pop-box-tips {color: #38dfd5;}
.pop-bg .pop-box .lose-icon {width: 3.2rem; margin: 0 auto;}
.pop-bg .pop-box button {box-shadow: 0 .12rem .1rem #d18484; margin: .4rem auto .24rem;}
.pop-bg .pop-box.blue button {box-shadow: none; border: #38dfd5 .04rem solid; line-height: .72rem;}
.pop-bg .pop-box .pop-box-form-title {text-align: center; margin-bottom: .7rem;}
.pop-bg .pop-box .pop-box-form-title h1 {font-size: .3rem; line-height: .36rem; color: #a10404;}
.pop-bg .pop-box .pop-box-form-title p {font-size: .3rem; line-height: .36rem; color: #333;}
.pop-bg .pop-box .pop-box-form-title span {font-size: .26rem; color: #a10404; display: block;}
.pop-bg .pop-box .form-input-box {width: 4.2rem; height: .6rem; background-color: #fff; border: #a10404 .04rem solid; border-radius: .2rem; margin: 0 auto .46rem; position: relative; overflow: hidden;}
.pop-bg .pop-box .form-input-box input[type='text'],.pop-bg .pop-box .form-input-box input[type='number'] {position: absolute; width: 100%; left: 100%; line-height: .6rem; background: none; border: none; left: 0; top: -.04rem; padding: 0 .3rem; font-size: .3rem;}
.pop-bg .pop-box .form-input-box button {position: absolute; width: 1.6rem; height: .6rem; background-color: #a10404; color: #fff; font-size: .28rem; text-align: center; line-height: .6rem; top: -.04rem; right: 0; border-radius: 0; box-shadow: none; margin: 0; z-index: 1;}


.page {width: 100%; min-height: 100vh; display: none; overflow: hidden; position: relative;}
.page.index {background-image: url("../images/index_bg.jpg"); background-size: 100%; background-repeat: no-repeat; background-position: left bottom;}
.page .moon {width: 2.87rem; position: absolute; top: -.15rem; left: 0;}
.page .lantern {position: absolute; width: 2.5rem; opacity: 1; left: 3.46rem;}
.page .lantern.two {left: -1.2rem; top: 4rem;}
.page .lantern.three {right: -.2rem; left: inherit; top: 6rem;}
.page .index-cloud {position: absolute; left: 0; bottom: .2rem;}
.page .index-person {position: absolute; width: 4.5rem; bottom: -4rem; left: 1.5rem;}
.page .index-person.an {-webkit-animation: gotoBig 1s linear forwards; animation: gotoBig 1s linear forwards;}
.page .title {position: absolute; width: 100%; left: 0; top: 2.25rem; font-size: .4rem; color: #fff; font-weight: bolder; text-align: center;}
.page .title.win {top: 1.2rem;}
.page .index-point {position: absolute; width: 1.28rem; left: 3.66rem; bottom: 2.5rem;}
.page .point-click-box {position: absolute; width: 4.5rem; height: 4.5rem; left: 1.5rem; bottom: 2rem;}

.page .cloud {position: absolute; left: 0; bottom: .22rem;}
.page .lantern.choose {left: 5.2rem; top: 1rem;}
.page .choose-cake-box {position: absolute; width: 7.06rem; height: 6.13rem; background-image: url("../images/choose_bg_img.png"); background-size: 100%; background-repeat: no-repeat; left: .23rem; top: 3.2rem;}
.page .choose-cake-box .choose-triangle-box {position: absolute; width: 0; border-top: 2.75rem #f5bc85 solid; border-left: 1.6rem transparent solid; border-right: 1.6rem transparent solid; left: 50%; margin-left: -1.6rem; top: .33rem; -webkit-transform-origin: center bottom; transform-origin: center bottom; display: none;}
.page .choose-cake-box .choose-triangle-box#ds {-webkit-transform: rotate(60deg); transform: rotate(60deg); display: block;}
.page .choose-cake-box .choose-triangle-box#nh {-webkit-transform: rotate(120deg); transform: rotate(120deg); display: block;}
.page .choose-cake-box .choose-triangle-box#lr {-webkit-transform: rotate(180deg); transform: rotate(180deg); display: block;}
.page .choose-cake-box .choose-triangle-box#zc {-webkit-transform: rotate(240deg); transform: rotate(240deg); display: block;}
.page .choose-cake-box .choose-triangle-box#ht {-webkit-transform: rotate(300deg); transform: rotate(300deg); display: block;}
.page .choose-cake-box .choose-triangle-box#tsp {-webkit-transform: rotate(0deg); transform: rotate(0deg); display: block;}
.page .choose-cake-box .choose-show-box {position: absolute; width: 1.2rem; height: 1.2rem; line-height: 1.2rem; text-align: center; font-size: .28rem; color: #fff; left: 50%; top: 50%; margin-left: -.6rem; margin-top: -.6rem; background-color: #9d7c5c; border-radius: 50%;}
.page .moon-cake {position: absolute; width: 2rem;}
.page .moon-cake.tsp {left: 50%; top: .3rem; margin-left: -1.1rem;}
.page .moon-cake.ds {left: 50%; top: 1.1rem; margin-left: .6rem;}
.page .moon-cake.nh {left: 50%; top: 3rem; margin-left: .5rem;}
.page .moon-cake.lr {left: 50%; top: 3.8rem; margin-left: -1rem;}
.page .moon-cake.zc {left: 50%; top: 3rem; margin-left: -2.6rem;}
.page .moon-cake.ht {left: 50%; top: 1.2rem; margin-left: -2.6rem;}
.page .bottom-btn-box {position: absolute; width: 100%; left: 0; bottom: 1rem; justify-content: space-around;}
.page .bottom-btn-box button {width: 2.8rem;}
.page button.bottom-btn {position: absolute; left: 50%; bottom: 1rem; margin-left: -1.6rem; z-index: 9;}
.page .talk-box {width: 5rem; height: 3.1rem; background-image: url("../images/talk_box_bg.png"); background-size: 100%; background-repeat: no-repeat; text-align: center; font-size: .3rem; font-size: .26rem; color: #690d1a; margin: 0 auto; padding: 1.1rem 1.1rem 0 .55rem; -webkit-transform: rotate(-9deg); transform: rotate(-9deg);}
.page .moon-cake-big {width: 5rem; height: 5rem; margin: -.5rem auto 0;}
.page .scroll-img {width: 5.5rem; margin: -.4rem auto 0;}
.page .rule-btn {position: absolute; width: 1.55rem; bottom: .23rem; right: .32rem;}
.page .question-bottom {position: absolute; width: 100%; left: 0; bottom: 0;}
.page .time-box {position: absolute; width: .82rem; height: .77rem; line-height: .77rem; background-image: url("../images/time_box_bg.png"); background-size: 100%; text-align: center; font-size: .36rem; color: #990202; top: .23rem; left: .35rem;}
.page .question-box {position: absolute; width: 7.5rem; height: 10.7rem; background-image: url("../images/question_bg.png"); background-size: 100%; background-repeat: no-repeat; left: 0; top: 0; padding-top: 2.4rem;}
.page .question-box #queThree {margin-top: -.3rem;}
.page .question-box .question-box-title {text-align: center; color: #fff; font-size: .3rem; line-height: .48rem; margin-bottom: .18rem;}
.page .question-box .question-box-title.cy {font-size: .36rem; font-weight: bold;}
.page .question-box .question-box-item {width: 2.55rem; height: .6rem; line-height: .6rem; border-radius: .6rem; color: #fff; font-size: .3rem; margin: 0 auto; text-align: center; position: relative;}
.page .question-box .question-box-item.onQue {border: #3d9d03 .08rem solid; line-height: .44rem;}
.page .question-box .question-box-item:after {content: ''; width: .35rem; height: .35rem; position: absolute; top: 50%; margin-top: -.17rem; right: -.45rem; background-image: url("../images/wrong_icon.png"); background-size: 100%; background-repeat: no-repeat; display: none;}
.page .question-box .question-box-item.show:after {display: block;}
.page .question-box .question-box-item.right:after {background-image: url("../images/right_icon.png"); background-size: 100%; background-repeat: no-repeat;}
.page .question-box .question-progress-box {width: 2.4rem; height: .1rem; background-color: #ae0404; position: absolute; top: 8.2rem; left: 50%; margin-left: -1.2rem;}
.page .question-box .question-progress-box .question-progress-item {width: .4rem; height: .4rem; line-height: .4rem; text-align: center; color: #fff; font-size: .3rem; position: absolute; top: 0; left: 0; margin-top: -.16rem; margin-left: -.2rem; background-color: #ae0404; border-radius: 50%;}
.page .question-box .question-progress-box .question-progress-item.onthis {border: #fff .04rem solid; line-height: .32rem;}
.page .question-box .question-progress-box .question-progress-item:nth-child(2) {left: 50%;}
.page .question-box .question-progress-box .question-progress-item:last-child {left: auto; right: 0; margin-left: 0; margin-right: -.2rem;}
.page .question-box .question-box-cy {align-items: center; margin: 0 auto .5rem; width: 55%;}
.page .question-box .question-box-cy p {font-size: .36rem; color: #fff; line-height: .6rem;}
.page .question-box .question-box-cy img {width: 3.5rem; height: 1.2rem; margin-left: -.5rem;}
.page .question-box .question-box-cy input[type='text'] {width: 2.4rem; height: .6rem; line-height: .6rem; padding: 0 .2rem; background-color: #ae0404; border-radius: .6rem; border: none; color: #fff;}
.page .question-box .question-box-cy .cy-result {width: .35rem; height: .35rem; margin-left: .2rem; display: none;}
.page .redbag-box {position: absolute; width: 4.82rem; left: 1.34rem; top: 3rem;}
.page .redbag-box .index-point {top: 1.53rem; left: 2.24rem;}


@-webkit-keyframes gotoBig {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    to {
        -webkit-transform: scale(3);
        transform: scale(3);
        opacity: 0;
    }
}

@keyframes gotoBig {
    from {
        -webkit-transform: scale(1);
        transform: scale(1);
        opacity: 1;
    }
    to {
        -webkit-transform: scale(3);
        transform: scale(3);
        opacity: 0;
    }
}